package examples.ddal;

import com.alibaba.druid.pool.DruidDataSourceFactory;

import javax.naming.Context;
import javax.naming.Name;
import java.util.Hashtable;

/**
 * @author Bill
 * @version 2013-05-30
 */
public class XDataSourceFactory extends DruidDataSourceFactory {

    @Override
    public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception {
        return super.getObjectInstance(obj, name, nameCtx, environment);    //To change body of overridden methods use File | Settings | File Templates.
    }

}
